<?php
class ActionFabricController{
	
	public static function getController($nameCont, View $view, $params = null){
		$name = $nameCont . 'ActionController';
		$actionController = new $name;
		$actionController->setView($view)->setParams($params);
		
		return $actionController;
	}
}
?>